package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.pojo.Dish;
import com.itheima.reggie.pojo.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    SetmealDto findByIdWithSetmealAndCategoryName(Long id);

    Page<SetmealDto> pageByDto(Page<SetmealDto> dtoPage,String name);

    void updateSetMelaDto(SetmealDto setmealDto);

    void deleteIds(Long[] ids);

    void updateSetMelaStatus(Integer status,Long[] ids);

    List<DishDto> getSetMealDishList(Long id);
}
